﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vol1.Sample01.MyDAL.DomainEntities
{
    public class Customer
    {
        public virtual Guid Id { get; private set; }
        public virtual string FirstName { get; set; }
        public virtual string LastName { get; set; }
        public virtual int Age { get; set; }
        public virtual Sex Sex { get; set; }
        public virtual IList<Address> Addresses { get; set; }

        public Customer()
        {
            Addresses = new List<Address>();
        }

    }

    public enum Sex
    {
        Male, Female
    }
}